package com.aizhixin.lab.task.domain;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/** 
 * @ClassName: WorkQuestions 
 * @Description: 
 * @author lk
 * @date 2017年3月6日 下午4:53:52 
 *  
 */
@Data
public class TaskQuestionDomain {
	
	@ApiModelProperty(value="试题id")
	private String id;

	@ApiModelProperty(value="任务id")
	private String taskId;
	@ApiModelProperty(value="任务id")
	private String orderWorkId;
	
	@ApiModelProperty(value="题干")
	private String questionContent;
	
	@ApiModelProperty(value="解析")
	private String analysis;
	
	@ApiModelProperty(value="正确答案")
	private String answer;
	
	@ApiModelProperty(value="试题排序")
	private Integer orderNum;

	@ApiModelProperty(value="代码行数")
	private String codeRowNum;
	
	@ApiModelProperty(value="试题类型(10:单选题,20:多选题,30:判断题,40:论述题,50:计算题,60:编程题,70:简答题,80:画图题,90:其他)")
	private Integer questionType;
	
	@ApiModelProperty(value="回答语言")
	private String language;

	@ApiModelProperty(value="参考代码")
	private String referenceCode;

	@ApiModelProperty(value="关键字（多个关键字以逗号分隔）")
	private String keyword;

	@ApiModelProperty(value="代码运行结果")
	private String runResult;
	
	@ApiModelProperty(value="选中试题Id")
	private String selectedQuestionId;
	
	@ApiModelProperty(value="试题题干附件集合")
	private List<TaskFileDomain> accessorylist = new ArrayList<TaskFileDomain>();

	@ApiModelProperty(value="试题答案附件集合")
	private List<TaskFileDomain> accessorylistAnswer = new ArrayList<TaskFileDomain>();

	@ApiModelProperty(value="试题解析附件集合")
	private List<TaskFileDomain> accessorylistAna = new ArrayList<TaskFileDomain>();
	
	@ApiModelProperty(value="试题客观题选项集合")
	private List<TaskQuestionChoiceDomain> choicelist = new ArrayList<TaskQuestionChoiceDomain>();
	
	
}
